#include "fitdialog.h"
#include "ui_fitdialog.h"

FitDialog::FitDialog(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::FitDialog)
{
    ui->setupUi(this);
}

FitDialog::~FitDialog()
{
    delete ui;
}

void FitDialog::on_buttonBox_accepted()
{
    emit select(ui->comboBox->currentIndex(), ui->comboBox->currentText());
}

